﻿<List Title="Entity" Url="Lists/Entity" BaseType="0" Type="100" Name="Entity"
      DisableAttachments="TRUE" FolderCreation="FALSE" VersioningEnabled="FALSE" EnableContentTypes="TRUE"
      xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>
    <ContentTypes>
      <ContentType ID="0x01003b7743e4960c4618865f01f122aeb500"
               Name="ConsolidationTool_Entity"
               Group="ConsolidationTool"
               Description="Custom Content Type">
        <FieldRefs>
          <FieldRef Name="ConsolidationTool_Region" ID="{9d816aaa-85d5-4bad-897d-137b73ed6d70}"/>
          <FieldRef Name="ConsolidationTool_SubRegion" ID="{9d816aaa-85d5-4bad-897d-137b73ed6d72}"/>
          <FieldRef Name="Title" ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"/>
          <FieldRef Name ="ConsolidationTool_FullName" ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd248}"/>
          <FieldRef Name="LinkTitle" ID="{82642ec8-ef9b-478f-acf9-31f7d45fbc31}"/>
          <FieldRef Name="ConsolidationTool_Group" ID="{9d816aaa-85d5-4bad-897d-137b73ed6d71}"/>
          <FieldRef Name="ConsolidationTool_Currency" ID="{9d816aaa-85d5-4bad-897d-137b73ed6d74}"/>
          <FieldRef Name="ConsolidationTool_CoCd" ID="{9d816aaa-85d5-4bad-897d-137b73ed6d75}"/>
          <FieldRef Name="ConsolidationTool_Tonnage" ID="{9d816aaa-85d5-4bad-897d-137b73ed6d76}"/>
          <FieldRef Name="ConsolidationTool_consolidation" ID="{9d816aaa-85d5-4bad-897d-137b73ed6d77}"/>
        </FieldRefs>
      </ContentType>
    </ContentTypes>

    <Fields>
      <Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Type="Text"  DisplayName="Company Name"  Name="Title"   StaticName="Title" Required="TRUE"   Indexed="TRUE" EnforceUniqueValues="true" />
      <Field ID="{82642ec8-ef9b-478f-acf9-31f7d45fbc31}" Type="Computed"  DisplayName="Company Name" Name="LinkTitle"  StaticName="LinkTitle" ReadOnly="TRUE"></Field>
      <Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd248}" Type="Text"  DisplayName="Company Full Name"  Name="ConsolidationTool_FullName"   StaticName="FullName" Required="TRUE"   Indexed="TRUE" EnforceUniqueValues="true" />
      <Field ID="{9d816aaa-85d5-4bad-897d-137b73ed6d70}" Type="Lookup"    DisplayName="Region" Name="ConsolidationTool_Region" List="Lists/Region" ShowField="Title" Required="TRUE"/>
      <Field ID="{9d816aaa-85d5-4bad-897d-137b73ed6d72}" Type="Lookup"    DisplayName="SubRegion" Name="ConsolidationTool_SubRegion" List="Lists/SubRegion" ShowField="Title"  Required="TRUE"/>
      <Field ID="{9d816aaa-85d5-4bad-897d-137b73ed6d71}" Type="UserMulti"  DisplayName="Group Name" Name="ConsolidationTool_Group" ShowField="ImnName" Required="TRUE"  UserSelectionMode="PeopleAndGroups" UserSelectionScope="0" />
        <Field ID="{9d816aaa-85d5-4bad-897d-137b73ed6d74}" Type="Choice"    DisplayName="Currency" Name="ConsolidationTool_Currency">
            <CHOICES>
                <CHOICE >RMB</CHOICE>
                <CHOICE >USD</CHOICE>
                <CHOICE >JPY</CHOICE>
                <CHOICE >KRW</CHOICE>
                <CHOICE >SGD</CHOICE>
            </CHOICES>

        </Field>
      <Field ID="{9d816aaa-85d5-4bad-897d-137b73ed6d75}" Type="Text"  DisplayName="Company Code"  Name="ConsolidationTool_CoCd" Required="TRUE"   Indexed="TRUE" />
      <Field ID="{9d816aaa-85d5-4bad-897d-137b73ed6d76}" Type="Choice" DisplayName ="Tonnage" Name ="ConsolidationTool_Tonnage">
        <CHOICES>
          <CHOICE >KT</CHOICE>
          <CHOICE >T</CHOICE>
        </CHOICES>
      </Field>
      <Field ID="{9d816aaa-85d5-4bad-897d-137b73ed6d77}" Type="Number" DisplayName ="Consolidation" Name ="ConsolidationTool_consolidation"></Field>
    </Fields>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx"
            SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx"
            SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx"
            SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>

    <Views>
      <View DisplayName="All Items" DefaultView="TRUE" BaseViewID="1" Type="HTML"
            WebPartZoneID="Main" WebPartOrder="1" Url="AllItems.aspx" SetupPath="pages\viewpage.aspx" >
        <XslLink>main.xsl</XslLink>
        <ViewFields>
          <FieldRef Name="ConsolidationTool_CoCd"/>
          <FieldRef Name="LinkTitle"/>
          <FieldRef Name="ConsolidationTool_Region"/>
          <FieldRef Name="ConsolidationTool_SubRegion"/>
          <FieldRef Name="ConsolidationTool_Group"/>
          <FieldRef Name="ConsolidationTool_Currency"/>
        </ViewFields>
        <RowLimit Paged="TRUE">30</RowLimit>
      </View>
    </Views>
  </MetaData>
</List>
